package com.yzd.learnjava.annotaions;

import java.util.HashSet;

import com.yzd.learnjava.util.OSExecute;

public class HashSetTest {

	HashSet<String> testObj = new HashSet<String>();
	
	@Test
	void initialization() {
		assert testObj.isEmpty();
	}
	
	@Test
	void _contains() {
		testObj.add("one");
		assert testObj.contains("one");
	}
	
	@Test
	void _remove() {
		testObj.add("one");
		testObj.remove("one");
		assert testObj.isEmpty();
	}
	
	public static void main(String[] args) {
		OSExecute.command("");
	}
}
